<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="geekgo,geekgo blog,geekgo博客">
  <meta name="keywords" content="geekgo,geekgo blog,geekgo博客">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>geekgo blog</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="assets/i/favicon.png">
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="geekgo blog"/>
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">
    <link rel="stylesheet" href="assets/js/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="assets/js/plugins/layer/skin/default/layer.css">
    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <link rel="stylesheet" href="assets/css/app.css">
</head>

<body id="blog-article-sidebar">
<div id="ggapp" v-cloak>
    <!-- header start -->
    <header class="am-g am-g-fixed blog-fixed blog-text-center blog-header">
        <div class="am-u-sm-centered">
            <img width="100%" src="assets/i/banner.png" alt="美女"/>
            <h2 class="am-hide-sm-only">geekgo 博客</h2>
        </div>
    </header>
    <!-- header end -->
    <hr>

    <!-- nav start -->
    <nav class="am-g am-g-fixed blog-fixed blog-nav">
        <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only blog-button" data-am-collapse="{target: '#blog-collapse'}" ><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

        <div class="am-collapse am-topbar-collapse" id="blog-collapse">
            <ul class="am-nav am-nav-pills am-topbar-nav">
                <li class="am-active"><a href="index.html">首页</a></li>
                <li class="am-dropdown" data-am-dropdown>
                    <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                        文章分类 <span class="am-icon-caret-down"></span>
                    </a>
                    <ul class="am-dropdown-content">
                        <li><a href="#">待补充</a></li>
                    </ul>
                </li>
                <li><a href="http://geek-go.cn:8012/" target="_blank">聊天室</a></li>
                <li><a href="#">图片库</a></li>
                <li><a href="#">存档</a></li>
                <li><a href="game">游戏</a></li>
            </ul>
            <form class="am-topbar-form am-topbar-right am-form-inline" role="search">
                <div class="am-form-group">
                    <input type="text" class="am-form-field am-input-sm" placeholder="搜索">
                </div>
            </form>
        </div>
    </nav>
    <hr>
    <!-- nav end -->
    <hr>
    <!-- content srart -->
    <div class="am-g am-g-fixed blog-fixed blog-content">
        <div class="am-u-md-8 am-u-sm-12">
            <article class="am-article blog-article-p">
                <div class="am-article-hd">
                    <h1 class="am-article-title blog-text-center">{{article.title}}</h1>
                    <p class="am-article-meta blog-text-center">
                        <span>类别：<a href="#" class="blog-color">{{article.category}}</a></span>
                        <span>作者：<a href="#">{{article.author.nickname}} &nbsp;</a></span>
                        <span>时间：{{article.createTime}}</span>
                        <span>阅读：{{article.showCount}}</span>
                        <span>评论：{{article.commentCount}}</span>
                    </p>
                </div>
                <div class="am-article-bd">
                    <img :src="'assets/i/a'+(Math.floor(Math.random()*7 + 1))+'.jpg'" alt="" class="blog-entry-img blog-article-margin">
                    <div v-html="article.content">
                    </div>
                </div>
            </article>

            <div class="am-g blog-article-widget blog-article-margin">
                <div class="am-u-lg-4 am-u-md-5 am-u-sm-7 am-u-sm-centered blog-text-center">
                    <span class="am-icon-tags"></span>
                    <a :href="'tag.html?tagName='+value" v-for="(value,index) in article.tag">{{index == article.tag.length - 1 ? value : value + ","}}</a>
                    <hr>
                    <a href=""><span class="am-icon-qq am-icon-fw am-primary blog-icon"></span></a>
                    <a href=""><span class="am-icon-wechat am-icon-fw blog-icon"></span></a>
                    <a href=""><span class="am-icon-weibo am-icon-fw blog-icon"></span></a>
                </div>
            </div>

            <hr>
            <div class="am-g blog-author blog-article-margin">
                <div class="am-u-sm-3 am-u-md-3 am-u-lg-2">
                    <img src="assets/i/f15.jpg" alt="" class="blog-author-img am-circle">
                </div>
                <div class="am-u-sm-9 am-u-md-9 am-u-lg-10">
                    <h3><span>作者 &nbsp;: &nbsp;</span><span class="blog-color">{{article.author.nickname}}</span></h3>
                    <p>{{article.author.description}}</p>
                </div>
            </div>
            <hr>
            <!--<ul class="am-pagination blog-article-margin">
                <li class="am-pagination-prev"><a href="#" class="">&laquo; 一切的回顾</a></li>
                <li class="am-pagination-next"><a href="">不远的未来 &raquo;</a></li>
            </ul>-->

            <hr>

            <form class="am-form am-g">
                <h3 class="blog-comment">评论</h3>
                <fieldset>
                    <div class="am-form-group am-u-sm-4 blog-clear-left">
                        <input type="text" class="" placeholder="名字" v-model="comment.memberName">
                    </div>
                    <div class="am-form-group am-u-sm-4">
                        <input type="email" class="" placeholder="邮箱" v-model="comment.memberEmail">
                    </div>

                    <div class="am-form-group am-u-sm-4 blog-clear-right">
                        <input type="password" class="" placeholder="网站" v-model="comment.memberSite">
                    </div>

                    <div class="am-form-group">
                        <textarea class="" rows="5" placeholder="一字千金" v-model="comment.commentContent"></textarea>
                    </div>

                    <p><button type="button" class="am-btn am-btn-default" @click="saveComment">发表评论</button></p>
                </fieldset>
            </form>

            <hr>
            <ul class="am-comments-list">
                <li class="am-comment-bd" style="margin-bottom: 8px; border-bottom: solid #cccccc 1px;" v-for="(comment,index) in commentList">
                    <div class="am-comment-author">{{comment.memberName}}</div>
                    <div class="am-comment-meta">{{index + 1}}楼 &nbsp;{{comment.createTime}}</div>
                    <div class="am-comment-highlight">{{comment.commentContent}}</div>
                </li>
            </ul>
        </div>

        <div class="am-u-md-4 am-u-sm-12 blog-sidebar">
            <div class="blog-sidebar-widget blog-bor">
                <h2 class="blog-text-center blog-title"><span>About ME</span></h2>
                <img src="assets/i/f14.jpg" alt="about me" class="blog-entry-img" >
                <p>geekgo</p>
                <p>
                    我是geekgo
                </p>
                <p>
                    擅长后端开发，对前端有着蜜汁兴趣，一直想搞一个好看点的web站点，然后这个博客就诞生了,本blog用于分享有意思的代码，开心或伤感的心情，希望大家可以从中获取自己的需要。
                </p>
            </div>
            <div class="blog-sidebar-widget blog-bor">
                <h2 class="blog-text-center blog-title"><span>Contact ME</span></h2>
                <p>
                    <a href=""><span class="am-icon-qq am-icon-fw am-primary blog-icon"></span></a>
                    <a href=""><span class="am-icon-github am-icon-fw blog-icon"></span></a>
                    <a href=""><span class="am-icon-weibo am-icon-fw blog-icon"></span></a>
                    <a href=""><span class="am-icon-reddit am-icon-fw blog-icon"></span></a>
                    <a href=""><span class="am-icon-weixin am-icon-fw blog-icon"></span></a>
                </p>
            </div>
            <div class="blog-clear-margin blog-sidebar-widget blog-bor am-g ">
                <h2 class="blog-title"><span>标签云</span></h2>
                <div class="am-u-sm-12 blog-clear-padding">
                    <a :href="'tag.html?tagName='+tag.tagName" class="blog-tag" v-for="tag in tagList">{{tag.tagName}}</a>
                </div>
            </div>
            <div class="blog-sidebar-widget blog-bor">
                <h2 class="blog-title"><span>热度榜</span></h2>
                <ul class="am-list">
                    <li v-for="hot in hotList" style="padding: 1rem 0;">
                        <span><a :href="'article.html?id='+hot.id">{{hot.title.length>12 ? hot.title.substring(0,10)+'...' : hot.title}}</a></span>
                        <div style="float: right;">
                            <span class="am-icon-book"></span>
                            <span>{{hot.showCount}}</span>
                            <span class="am-icon-comment-o"></span>
                            <span>{{hot.commentCount}}</span>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- content end -->


    <footer class="blog-footer">
        <div class="blog-text-center">© 2017 geekgo blog. </div>
    </footer>
</div>

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="assets/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="assets/js/amazeui.min.js"></script>
<script src="assets/js/blog/vue.min.js"></script>
<script src="assets/js/plugins/layui/layui.js"></script>
<script src="assets/js/blog/moment.min.js"></script>
<script src="assets/js/blog/common.js"></script>
<script src="assets/js/plugins/layer/layer.js"></script>
<script src="assets/js/blog/article.js"></script>
</body>
</html>